import path from "path";
import url from "url";

export const getDirname = (fileUrl) => path.dirname(url.fileURLToPath(fileUrl));
